package com.tcs.teg.domain.accounts;

import java.io.Serializable;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import common.money.Percentage;

public class AccountCriteria implements Serializable {


	private String contactNumber;

	private String name;

	public AccountCriteria() {
	}

	/**
	 * Create a new account.
	 * @param number the account number
	 * @param name the name on the account
	 */
	public AccountCriteria(String contactNumber, String name) {
		this.contactNumber = contactNumber;
		this.name = name;
	}

	
	/**
	 * Returns the number used to uniquely identify this account.
	 */
	public String getContactNumber() {
		return contactNumber;
	}

	/**
	 * Sets the number used to uniquely identify this account.
	 * @param number The number for this account
	 */
	public void setContactNumber(String number) {
		this.contactNumber = number;
	}

	/**
	 * Returns the name on file for this account.
	 */
	public String getName() {
		return name;
	}

	/**
	 * Sets the name on file for this account.
	 * @param name The name for this account
	 */
	public void setName(String name) {
		this.name = name;
	}


	public String toString() {
		return "Contact Number = '" + contactNumber + "', name = " + name;
	}
}